﻿#ifndef WORKTHREAD_H
#define WORKTHREAD_H

#include <thread>
#include <atomic>


class WorkThread
{
public:
    WorkThread();

private:
    /**
     * @brief run  线程运行的函数
     * @param param 自定义参数
     */
    static void run(void* param);

private:
    std::atomic<bool> m_start_thread;
};

#endif // WORKTHREAD_H
